<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Defects Submission Status</title>
<style type="text/css">
table
{
table-layout:fixed;
width:100%;
}
th
{
font-family:"Arial";
font-size:small;

}
td
{
font-family:"Arial";
font-size:x-small;
}
</style>
<title>Filter Selection</title>
</head>
<body>
<jsp:include page="../banners/topbanner.jsp"/>
	
	<table border="0" cellpadding="10px">
		<tr>
			<c:forEach var="month" items="${months}">
			<th align="left">
				<c:out value="${month}"></c:out>
			</th>
			</c:forEach>
		</tr>
		
		<tr valign="top">
			<c:forEach var="month" items="${months}">
			<td>
				<c:choose>
					<c:when test="${empty statusMap[month]}">
						<img alt="No Image" src="images/not_submitted.png" width="20">
					</c:when>
					<c:otherwise>
						<img alt="No Image" src="images/submitted.jpg" width="20">
					</c:otherwise>
				</c:choose>
			</td>
			</c:forEach>
		</tr>		
		
		<tr valign="top">
			<c:forEach var="month" items="${months}">
			<td>
				<c:forEach var="project" items="${statusMap[month]}">
				<c:out value="${project}"></c:out><br><br>
				</c:forEach>
			</td>
			</c:forEach>
		</tr>		
			
	</table>
		
</body>
</html>